//does a reference passed as a reference?
#include <iostream>
using namespace std;
int foo(int& i)
{
  i++;
  return i;
}

int main()
{
  int i = 12;
  int& j = i;
  foo(i);
  foo(j);

  i = int();
  new int&;//new cannot be applied to a reference type

  cout<<"i ="<<i<<endl;
  cout<<"j ="<<j<<endl;
  cout<<"sizeof(int&)"<<sizeof(int&)<<endl;
  return 0;
}
